<?php 
$num=$_POST['number'];
if ($num) {
	echo $num."是质数";
}
else{
    echo $num."不是质数";
}
 ?>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
<form action="day7.php" method="post">
	<tr>
		<td>请输入一个数:</td>
		<td><input type="text" name="number"></td>
	</tr>
	<tr>
		<td><input type="submit" value="输入"></td>
	</tr>
</form>
	
</body>
</html>
